package cn.edu.hznu.notebook.dao;

import java.io.Serializable;

public interface GenericDao<T, ID extends Serializable> {
	
	public void save(T entity);
	
	public T findById(ID id);
	
	public void update(T entity);
	
	public void deleteById(ID id);
	
	public void delete(T entity);

}
